﻿<UserControl x:Class="SinaFinance.SummaryInfoLibrary.TopStockView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:realTime="clr-namespace:SinaFinanceBaseClassLibrary;assembly=SinaFinanceBaseClassLibrary">
    <Grid HorizontalAlignment="Left" VerticalAlignment="Top">
        <Canvas HorizontalAlignment="Left" x:Name="LayoutRoot" Width="550.0" Height="100.0">
            <TextBlock x:Name="txtStockName" Cursor="Hand" Margin="0,0,0,0" FontSize="14" >
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground></TextBlock>
            <TextBlock x:Name="txtTrade" Margin="70,2,0,0"  FontSize="12" >
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground></TextBlock>
            <TextBlock x:Name="txtChangePercent" Margin="140,2,0,0" FontSize="12" >
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground></TextBlock>

            <TextBlock x:Name="txtStockName_" Cursor="Hand" Margin="220,0,0,0" FontSize="14">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground></TextBlock>
            <TextBlock x:Name="txtTrade_" Margin="280,2,0,0" FontSize="12">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground></TextBlock>
            <TextBlock x:Name="txtChangePercent_" Margin="360,2,0,0"  FontSize="12">
            	<TextBlock.Foreground>
            		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            			<GradientStop Color="#FFECFFFF"/>
            			<GradientStop Color="#FFAEBFC7" Offset="1"/>
            		</LinearGradientBrush>
            	</TextBlock.Foreground></TextBlock>

        </Canvas>
    </Grid>
</UserControl>
